package com.bdqn.service;

import com.bdqn.entity.Pet;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PetService {
    //获取所有宠物记录
    public List<Pet> getPetList();
    //添加宠物记录
    public int addPet(Pet pet);
    //删除宠物记录
    public int deletePet(Integer petId);
    //修改宠物信息
    public int updatePet(Pet pet);
    //按照类型查询宠物信息
    public Pet getPetByBreed(@Param("BreedId")Integer Breed);
}
